Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

teamd warm-restart in fast mode hld #1095

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

tianshangfei
Copy link
Collaborator

We expect that the restart of teamd docker should not cause link flapping or any traffic loss. All lags at data plane should remain the same. But it's hard to implement in some scenarios.

During teamd warm-restart, the control plane remains up for a maximum of 90 seconds in LACP slow mode. However, in LACP fast mode, the control plane can only remain up for 3 seconds. This is because LACPDUs are sent every second. LACP protocol considers a LAG to be down if three LACPDUs are not received.

Teamd containers are not restarted that fast, so teamd warm-restart in LACP fast mode always results in lag down and the kernel LAG state in mess. However, in a data center, it is necessary to set LACP to fast mode to ensure faster link convergence and less traffic loss.

Therefore, supporting teamd warm-restart in LACP fast mode is very important. With this feature, we can support teamd bug hotfix and smooth upgrades.

This design supports teamd warm-restart in fast mode by switching between active and standby teamd container.
Signed-off-by: tianshangfei tian_shangfei@163.com

Signed-off-by: tianshangfei <tian_shangfei@163.com>
Signed-off-by: tianshangfei <tian_shangfei@163.com>
Signed-off-by: tianshangfei <tian_shangfei@163.com>
Signed-off-by: tianshangfei <tian_shangfei@163.com>
Signed-off-by: tianshangfei <tian_shangfei@163.com>
@zhangyanzhao
Copy link
Collaborator

HLD was reviewed on Oct 11, 2022. @tianshangfei can you please help to add the code PRs to this HLD? Thanks.

@tianshangfei
Copy link
Collaborator Author

HLD was reviewed on Oct 11, 2022. @tianshangfei can you please help to add the code PRs to this HLD? Thanks.

The code PR is not ready yet, and the implementation has been delayed because some urgent work needs to be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants